﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcSDK.Domain
{
    /// <summary>
    /// 生产批号投料表
    /// </summary>
    [Serializable]
    public partial class AT_ProductBatchMateriat
    {
        public AT_ProductBatchMateriat()
        { }
        #region Model
        private long _id = 0;
        private long _companyid = 0;
        private DateTime? _createtime;
        private string _createby;
        private DateTime? _updatetime;
        private string _updateby;
        private long? _batchnoid;
        private long _fromid;
        private long? _fromformat;
        private string _frombatchno;
        private decimal? _qty;
        private string _ywy;
        private string _feedpoint;
        private DateTime? _feedtime;
        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreateBy
        {
            set { _createby = value; }
            get { return _createby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UpdateBy
        {
            set { _updateby = value; }
            get { return _updateby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? BatchNoId
        {
            set { _batchnoid = value; }
            get { return _batchnoid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long FromId
        {
            set { _fromid = value; }
            get { return _fromid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? FromFormat
        {
            set { _fromformat = value; }
            get { return _fromformat; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FromBatchNo
        {
            set { _frombatchno = value; }
            get { return _frombatchno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? Qty
        {
            set { _qty = value; }
            get { return _qty; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ywy
        {
            set { _ywy = value; }
            get { return _ywy; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FeedPoint
        {
            set { _feedpoint = value; }
            get { return _feedpoint; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? FeedTime
        {
            set { _feedtime = value; }
            get { return _feedtime; }
        }
        #endregion Model
        #region ExModel
        //产品名称
        private string _productcode = "";
        public string ProductName { get; set; }
        public long ProductId { get; set; }
        public int BacthNoId { get; set; }
        //public string FromBatchNo { get; set; }
        public string ProductCode { get; set; }
        public string WlType { get; set; }
        //类型
        public string Status { get; set; }
        //物料物料编码
        public string Wlcode { get; set; }
        //原料名称
        public string WlName { get; set; }
        //入库批号
        public string BatchNo { get; set; }
        //净含量
        public string NetContent { get; set; }
         //入库时间
        public string InTime { get; set; }
        //保质期
        public string Qperiod { get; set; }
        //原料规格
        public string Format { get; set; }
        //生产日期
        public string MadeDate { get; set; }
        //标准代号
        public string StandardCode { get; set; }
        //生产地
        public string MadeAddr { get; set; }
        //企业名称
        public string EnName { get; set; }
        //联系方式
        public string Contact { get; set; }
        //厂商网址
        public string EnHttp { get; set; }
        //厂商地址
        public string EnAddr { get; set; }
        //营业执照
        public string EnNumber { get; set; }
        //其他记录
        public string Remark { get; set; }
        #endregion
    }
}
